package com.njym.java.security.app.mapper;

import com.njym.java.security.app.entity.LikeOrCollect;
import com.njym.java.security.app.entity.LikeOrCollectVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author lijie
 * @email 717057076@qq.com
 * @date 2020-01-07 10:59:01
 */
public interface LikeOrCollectMapper extends Mapper<LikeOrCollect> {

    List<LikeOrCollectVo> getmycollect(@Param("userId") Integer userId);

    List<LikeOrCollect> getList(@Param("type") Integer type,@Param("couId") Integer couId,@Param("userId") Integer userId);

    boolean delByParam(@Param("type") Integer type,@Param("couId") Integer couId,@Param("userId") Integer userId);
}
